import serve from "koa-static";
import path from "path";

const filename = import.meta.url;
const currentDir = path.dirname(new URL(filename).pathname);
const staticPath = path.join(currentDir, '../../public');

export default () => serve(staticPath);
